package com.ceit.dao;

import com.ceit.model.QuestionsKnowledge;
import com.ceit.model.QuestionsKnowledgeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionsKnowledgeMapper {

    int countByExample(QuestionsKnowledgeExample example);

    int deleteByExample(QuestionsKnowledgeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QuestionsKnowledge record);

    int insertSelective(QuestionsKnowledge record);

    List<QuestionsKnowledge> selectByExample(QuestionsKnowledgeExample example);

    QuestionsKnowledge selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QuestionsKnowledge record, @Param("example") QuestionsKnowledgeExample example);

    int updateByExample(@Param("record") QuestionsKnowledge record, @Param("example") QuestionsKnowledgeExample example);

    int updateByPrimaryKeySelective(QuestionsKnowledge record);

    int updateByPrimaryKey(QuestionsKnowledge record);
}